package com.neusoft.my12306.service;

import com.neusoft.my12306.common.res.CommonResult;
import com.neusoft.my12306.entity.Schedule;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 段静迪
 * @since 2023-07-04
 */
public interface IScheduleService extends IService<Schedule> {

    CommonResult findAll();

    CommonResult findByTrainno(String trainno);

    CommonResult addSchdeule(Schedule schedule);

    CommonResult delSchdeule(String sid);

    CommonResult modSchdeule(Schedule schedule);
}
